<?php
/*  
 *  Project lonely
 *  Author: Fvcity dev Team
 *  File: /lonely/index.php
 *
 *  Subversion Keywords:
 *  $Id: index.php 19 2007-07-05 05:21:52Z fvcity.roy $
 *  $Date: 2007-07-05 05:21:52 +0000 (Thu, 05 Jul 2007) $
 *  $Revision: 19 $
 *  $Author: fvcity.roy $
 *  $URL: http://fvcity.googlecode.com/svn/trunk/index.php $
 */
 ?>

<?php get_header(); ?>


<div class="sr_general">
	

<!-- START Categories -->
<div class="sr_right">
<div class="flex">
 <div class="recent_posts">
   <h3>评论最多</h3>
<div class="fvbox">
    <ul>
    <li>
<?php get_mostcommented(); ?>
	</li>
   </ul>
   	</div>
    </div>
   </div>
  </div>
<!-- END Categories -->

<!-- START Categories -->
    <div class="sr_right">
<div class="flex">
 <div class="recent_posts">
   <h3>最新发布</h3>
<div class="fvbox">
    <ul>
    <?php get_recent_posts(); ?>
   </ul>
   	</div>
    </div>
   </div>
  </div>
<!-- END Categories -->

<!-- START Categories -->
<div class="sr_rights">
<div class="flex">
 <div class="recent_comment">
   <h3>最新回复</h3>
<div class="fvbox">
  <ul>
    <li>
     <?php gr_recent_comments("X", "42", get_bloginfo('template_url')."/images/24_feet.png", "","10"); ?>
    </li>
 </ul>
 </div>
  </div>
  </div>
  </div>
<!-- END Categories -->


</div>

<!-- Side SC START -->
<div class="sc">
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>

 <div class="postdate">
 <div class="month"><?php the_time('M'); ?></div>
 <div class="day"><?php the_time('d'); ?></div>
 </div>
 	 
<div class="posthead"><h1><a href="#"></a><a title="Permanent Link to <?php the_title(); ?>" href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
  <p class="postinfo"><span class="postauthor"> <?php the_author() ?></span> <span class="postcategory"> <?php the_category(', ') ?></span> <?php if( $wp_version =="2.3-alpha" ||$wp_version >="2.3" ) { ?><?php the_tags('<span class="tag_content">Tags:</span>', ', ', ''); ?><?php } else { ?><?php if ( (function_exists('UTW_ShowTagsForCurrentPost')) ) { ?><?php UTW_ShowTagsForCurrentPost("commalist") ?><?php }?><?php }?> <?php if (function_exists('akpc_the_popularity')) { ?><?php akpc_the_popularity(); ?><?php } ?> <?php edit_post_link('<span class="edit_post">Edit</span>', ''); ?></p>
</div>
  
<div class="postcontent">
<?php the_content('<span class="psot_more">阅读全文... &raquo;</span>'); ?>
 </div>
 
<ul class="postcom">
 <li><?php comments_popup_link('<strong>0</strong> 评论', '<strong>1</strong> 评论', '<strong>%</strong> 评论'); ?></li>
</ul>

<?php endwhile; ?>

		<div class="navigation">
			<?php if(function_exists('fvcity_pagenavi')) { fvcity_pagenavi(); } ?>
		</div>
		
	<?php else : ?>

<h2 class="center">Not Found</h2>
<p class="center"><?php _e("Sorry, but you are looking for something that isn't here."); ?></p>

<?php endif; ?>
</div>
<!--  Side SC END -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>
